<h1>Consoles List</h1>

<table>
  <thead>
    <tr>
      <th>Ref jeux</th>
      <th>Typeconsole</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($consoles as $console): ?>
    <tr>
      <td><a href="<?php echo url_for('console/show?ref_jeux='.$console->getRefJeux()) ?>"><?php echo $console->getRefJeux() ?></a></td>
      <td><?php echo $console->getTypeconsole() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('console/new') ?>">New</a>
